// 菜单部分
.el-menu{
  :deep(.el-icon) {
    margin: 0 10px 0 16px;
  }
  .menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
  
    &:hover {
      // color: #312e2e;
      // background-color: var(--backend-active-color);
    }
  }
  
  .SubMenu.el-menu-item {
    // transition: background-color .3s;
    height: 48px;
    line-height: 48px;
    padding: 0 !important;
    border-left: 3px solid var(--backend-theme-color);
    &:hover {
      // background-color: transparent;
      // background-color: var(--backend-active-color);
      border-left-color: var(--backend-active-color);
      color: var(--backend-active-color);
      :deep(.el-icon) {
        // color: #312e2e;
      }
    }
  
    &.is-active {
      color: var(--backend-active-color);
      border-left-color: var(--backend-active-color);
      // background-color: var(--backend-active-color);
    }
  }
  
  :deep(.el-menu-item-group__title) {
    padding: 8px 12px;
    background-color: var(--backend-parent-color);
    color: #999999;
    font-size: 14px;
  }
  :deep(.el-sub-menu__title){
    padding-left: 0 !important;
    padding-right: 0 !important;
    &:hover {
      color: var(--backend-active-color);
      // background-color: var(--backend-active-color);
    }
  }
  :deep(.el-sub-menu .el-sub-menu__icon-arrow){
    top: auto;
  }
  :deep(.el-menu-item .el-menu-tooltip__trigger), :deep(.el-tooltip__trigger){
    justify-content: center;
  }

  .el-sub-menu{
    .el-menu-item{
      padding-left: 16px !important;
    }
  }
}

// 卡片部分
.box-card{
  height: 100%;
  overflow: auto;
  :deep(.el-card__header){
    padding: 20px;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;

    .card-header{
      font-size: 16px;
      font-weight: bold;
      display: flex;
      justify-content: space-between;
    }
  }
  :deep(.el-card__body){
    padding-top: 0;
  }
}

// 公共搜索部分
.search-form{
  display: flex;
  justify-content: space-between;

  /** input框固定宽度 */
  :deep(.el-input) {
    width: 192px !important;
  }
}

// 表格部分
.table-data{
  /* 表格高度 */
  :deep(.el-table){
    height: calc(100vh - 300px);
  }
  /** 表头颜色 */
  :deep(.el-table th.el-table__cell){
    background-color: var(--backend-bg-color);
  }
  /** 表格内图片样式 */
  .table-item-img{
    width: 200px;
  }
  .table-page{
    text-align: center;
    width: 100%;
    margin-top: 16px;
    display: flex;
    justify-content: center;
  }
}

// 表单部分
.add-form{
  :deep(.el-select){
    width: 100%;
  }
  :deep(.el-input){
    width: 100%;
  }
  :deep(.el-upload__tip){
    display: inline-flex;
    margin: 0 0 0 24px;
    align-items: center;
    position: relative;
    top: -2px;
  }
  .add-button{
    margin-top: 40px;
  }
}

// 详情页部分
.backend-detail{
  height: 100%;
  font-size: 14px;
  color: #444444;
  display: flex;
  justify-content: space-between;

  .detail-info{
    width: 75%;
  }

  .detail-item{
    margin-bottom: 16px;
    word-wrap: break-word;
    font-size: 18px;
    .detail-label{
      /* text-align: right;
      padding-right: 12px; */
      display: inline-block;
      min-width: max-content;
    }
    .detail-img {
      display: flex;
      align-items: flex-start;
    }
    .detail-value {
      display: inline-block;
    }
  }
  .detail-opera{
    width: 24%;
    .card-header{
      font-size: 16px;
      font-weight: bold;
    }
  }
}

/* 图片加载失败 */
.image-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--el-fill-color-light);
  color: var(--el-text-color-secondary);
  font-size: 30px;
}

/* 申报流程 */
.node-manage{
  .node-tips{
    background-color: #EFEFEF;
    padding: 8px;
    margin-bottom: 16px;
  }
  .node-list{
    margin-top: 24px;
    .node-title{
      display: flex;
      justify-content: space-between;
      padding: 16px;
      font-weight: bold;
    }
    .node-detail{
      background-color: #EFEFEF;
      padding: 16px 24px;
      font-size: 14px;
    }
    .add-person{
      text-align: center;
      font-size: 14px;
      .el-icon{
        font-size: 36px;
        background-color: #EFEFEF;
        padding: 8px;
        border-radius: 50%;
      }
    }
    .person-detail{
      display: inline-flex;
      justify-content: space-between;
      padding: 8px;
      border: 1px solid #ccc;
      margin: 0 16px 16px 0;
      font-size: 14px;
      position: relative;
      .el-icon{
        font-size: 36px;
        margin-right: 16px;
        color: var(--theme-color);
      }
      .close-icon{
        position: absolute;
        top: -8px;
        right: -25px;
        font-size: 18px;
      }
    }
  }
}